package cn.edu.zut.score.core.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zby
 * @date 2021/06/29
 */
@Data
public class ReplyResponse {

    @ApiModelProperty(value = "答辩ID")
    private Long id;

    @ApiModelProperty(value = "小组ID")
    private Long groupId;

    @ApiModelProperty(value = "小组名称")
    private String groupName;

    @ApiModelProperty(value = "答辩标题")
    private String title;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "学生打分权重 0为不开启学生打分")
    private Integer weight;

    @ApiModelProperty(value = "学生是否可以自评")
    private Integer selfMark;

    @ApiModelProperty(value = "学生是否可见自己分数详情分析")
    private Integer visible;

    @ApiModelProperty("答辩年限")
    private String config;
}
